package com.codejoys.service.Impl;

import com.codejoys.mapper.UserMapper;
import com.codejoys.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userServiceImpl")
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper mapper;

    public void setMapper(UserMapper mapper) {
        this.mapper = mapper;
    }

    public void findAll() {
        System.out.println("UserServiceImpl.findAll()##...**");

        mapper.findAll();
    }
}
